package com.axjy.service;

import com.axjy.pojo.User;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface UserService {
    public List<User> search(Integer userRole);

    public User login(String userCode,String userPassword);

    public void updateCard(Integer id,String cardPic,String cardDesc);

    public String checkCode(String userCode);

    public User get(Integer id);
    public void add(User u, HttpSession session);
}
